package com.ny.service.Impl;

import com.ny.entity.Classrooms;
import com.ny.mapper.ClassRoomMapper;
import com.ny.service.ClassroomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ClassroomServiceimpl implements ClassroomService {
    @Autowired
    private ClassRoomMapper classroomMapper;
    @Override
    public List<Classrooms> findAllClassrooms() {
        return classroomMapper.findAllClassrooms();
    }
}
